#include"../src/server.hpp"


int main()
{
    Socket cli_sock;
    cli_sock.CreateClient(8085,"127.0.0.1");
    for (int i = 0; i < 5; i++)
    {
        std::string str = "hello!";
        cli_sock.Send((void *)&str[0], str.size());
        char buf[1024] = {0};
        cli_sock.Recv(buf, 1023);
        DBG_LOG("%s", buf);
    }
    while(1)
    {
        sleep(5);
    }

}